package com.guohengspace.mq.model.query;

import lombok.Data;

/**
 * 更新Topic参数
 */
//@Data
public class TopicUpdateParam {

    /**
     * 需配置的Topic所对应的实例ID
     */
    private String instanceId;

    /**
     * 需配置的Topic名称
     */
    private String topic;

    /**
     * 设置该Topic的读写模式
     *
     * 6：同时支持读写
     * 4：禁写
     * 2：禁读
     */
    private Integer perm;

    public String getInstanceId() {
        return instanceId;
    }

    public void setInstanceId(String instanceId) {
        this.instanceId = instanceId;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public Integer getPerm() {
        return perm;
    }

    public void setPerm(Integer perm) {
        this.perm = perm;
    }
}
